package com.ecnu.system.mapper;

import com.ecnu.system.domain.ProjectStageMission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ecnu.system.domain.dto.ProjectResultDTO;
import com.ecnu.system.domain.vo.MissionForResultVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * ecnu_活动_阶段任务表 Mapper 接口
 * </p>
 *
 * @author zdn
 * @since 2025-03-24
 */
@Mapper
public interface ProjectStageMissionMapper extends BaseMapper<ProjectStageMission> {

    List<MissionForResultVO> selectListForResult(String id);

    List<ProjectStageMission> selectLists(@Param("dto") ProjectResultDTO dto,@Param("userId") Long userId);
}
